<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset="utf-8">
<title>友盟应用管理 </title>
<@fm.header />
<script type="text/javascript" src="/resources/js/common.js"></script>
<script type="text/javascript" src="/resources/js/umAppInfo/umAppInfo.js"></script>
</head>
<body class="cmp-list-body">

<div id="tb" style="padding:3px">
	<span>应用名称</span>
	<input id="sapkName" class="easyui-textbox" style="width: 155px;"/>
    <a href="#" class="easyui-linkbutton" iconCls="icon-search" plain="true" onclick="doSearch();">查询</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="doAdd();">新增</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-edit" plain="true" onclick="doEdit();">修改</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-remove" plain="true" onclick="doDel();">删除</a>
</div>
<table id="tt" title="友盟应用管理 " toolbar="#tb" rownumbers="true" 
	singleSelect="false" pagination="true" fitColumns="true" pageSize="15" pageList="[15,30,60,80,100]">  
    <thead>
        <tr>
            <th align="center" width="10%" field="id" checkBox="true"></th>
		    <th align="center" width="20%" field="apkName">应用名称</th>
		    <th align="center" width="10%" field="packageName">应用包名</th>
		    <th align="center" width="10%" field="appVersionCode">应用app版本号</th>
		    <th align="center" width="10%" field="appVersionName">应用app版本名称</th>
		    <th align="center" width="10%" field="appKey">appKey</th>
		    <th align="center" width="10%" field="createDate">创建时间</th>
		    <th align="center" width="10%" field="modifyDate">修改时间</th>
        </tr>
    </thead>   
</table>

<div id="addWin" class="easyui-window" title="友盟应用管理|新增修改" closed="true" collapsible="false" minimizable="false"  maximizable="false" style="width:500px;height:450px"   
        data-options="iconCls:'icon-save',modal:true">
     <div fit="true">
        <form id="addForm"  method="post" >
            <input type="hidden" id="idId" name="id"/>   
            <table>
		        <tr>
		             <td align="left">应用名称</td>
		             <td><input id="apkName" class="easyui-validatebox" data-options="required:true"  name="apkName" style="width:300px"></input></td>
		        </tr>	
		        <tr>
		             <td align="left">应用包名</td>
		             <td><input id="packageName" class="easyui-validatebox" data-options="required:true"  name="packageName" style="width:300px"></input></td>
		        </tr>
		        <tr>
		             <td align="left">应用app版本号</td>
		             <td><input id="appVersionCode" class="easyui-validatebox" name="appVersionCode" style="width:300px"></input></td>
		        </tr>
		        <tr>
		             <td align="left">应用app版本名称</td>
		             <td><input id="appVersionName" class="easyui-validatebox" name="appVersionName" style="width:300px"></input></td>
		        </tr>
		        <tr>
		             <td align="left">appKey</td>
		             <td><input id="appKey" class="easyui-validatebox"  name="appKey" style="width:300px"></input></td>
		        </tr>
		        <tr>
		             <td align="left">app秘钥</td>
		             <td><input id="appSecret" class="easyui-validatebox" name="appSecret" style="width:300px"></input></td>
		        </tr>
		        <tr>
		             <td align="left">应用md5签名</td>
		             <td><input id="apkSignatureMD5" class="easyui-validatebox" name="apkSignatureMD5" style="width:300px"></input></td>
		        </tr>
		        <tr>
		             <td align="left">pageName</td>
		             <td><input id="pageName" class="easyui-validatebox" name="pageName" style="width:300px"></input></td>
		        </tr>
           </table>
        </form>
        <div style="padding: 25px; text-align: center;">
            <a href="#" class="easyui-linkbutton" onclick="cancel();">取消</a>
            <a href="#" class="easyui-linkbutton"  onclick="save();">保存</a> 
        </div>
    </div>
</div>

</body>
</html>